package cqie.sflab.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author gbw
 * @since 2023-04-23
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_function")
@ApiModel(value = "SysFunction对象", description = "")
public class SysFunction implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("资源id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("子系统编码")
    private String sysCode;

    @ApiModelProperty("资源名称")
    private String name;

    @ApiModelProperty("应用程序路径")
    private String appUrl;

    @ApiModelProperty("资源类型(0-操作，1-菜单)")
    private Integer type;

    @ApiModelProperty("上级资源id")
    private String parentId;

    @ApiModelProperty("排序编码")
    private Integer sortCode;

    @ApiModelProperty("状态（0-正常，1-禁用）")
    private Integer status;


}
